<?php
require_once('common_view_functions.php');

function showEmoIcon($icon) {
	if($icon == 'BB0') {
		return 'BB0.png';
	} else {
		return 'bbx/' . $icon . '.gif';
	}
}
?>
<?php foreach($emotags as $et) { ?>
<div class="emoTag">
	<dl>
		<dt><img alt="" src="<?php echo('/img/' . showEmoIcon($et->emo_icon)); ?>" /></dt>
		<dd class="time"><?php echo($et->post_time); ?>，<span class="user"><?php echo(htmlspec($et->user_name)); ?></span></dd>
		<dd class="text"><?php echo(htmlspec($et->emo_text)); ?></dd>
	</dl>
	<div class="z"></div>
</div>
<?php } ?>
<input type="hidden" id="hidEmoTagPaging" value="<?php echo($prev_string . '|' . $paging_info . '|' . $next_string); ?>" />
